package com.itawei.d2_genericdemowork;

public class BosiCat extends Cat{
    public BosiCat(String name, int age) {
        super(name, age);
    }

    public BosiCat() {
    }

    @Override
    public void eat() {
        System.out.println("一只叫做"+getName()+"的，"+getAge()+"岁的波斯猫正在吃小饼干");
    }
}
